<?php
namespace Administrator\Logic;
use Think\Model;
class BaseLogic extends Model {

	// 自动验证规则
	protected $_validate	=	array();
	// 自动完成规则
	protected $_auto	=	array();

	public function _construct($name = '', $tablePrefix = '', $connection = ''){
		// 设置默认的表前缀
		$this->tablePrefix = C('DB_PREFIX');
		// 执行构造方法
		parent::__construct($name, $tablePrefix, $connection );
	}

}
